package com.qiaofang.applet.service.other.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qiaofang.applet.common.base.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.Set;

/**
 * @author QF2019
 */
@Data
@NoArgsConstructor
public class TopicDto extends BaseDto {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("集团公司code")
    private String corporationCode;

    @ApiModelProperty("主题名称")
    private String topicName;

    @ApiModelProperty("主题标语")
    private String topicTitle;

    @ApiModelProperty("主题介绍")
    private String topicPresent;

    @ApiModelProperty("主题类型: 新房/二手房/租房")
    private String topicType;

    @ApiModelProperty("主题排序")
    private Integer topicSort;

    @ApiModelProperty("主题状态:下架/上架")
    private String topicStatus;

    @ApiModelProperty("主题图片")
    private String imageUrl;

    @ApiModelProperty("上架时间")
    private Date upDate;

    @ApiModelProperty("下架时间")
    private Date downDate;

    @ApiModelProperty("主题城市")
    private String cityCode;

    @ApiModelProperty("主题城市名称")
    private String cityName;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("上/下架时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date upDownDate;
}
